package eqsolver;

public class ViewQuadraticEquation {

	IEquation equation;
	
	public ViewQuadraticEquation(IEquation equation) {
		this.equation=equation;
	}
	
	public String getFormula() {
		return "ax^2 + bx + c = 0";
	}
	
	public String getParamFormula() {
		
	
		
		String tmp = " ";
		tmp = equation.getParam()[0]+"x^2 + "+equation.getParam()[1]+"x + "+equation.getParam()[2]+" =0";
		return tmp;
	}
}
